package me.yuxiaoyao.lock.annotation;

import me.yuxiaoyao.lock.LockExecutor;
import me.yuxiaoyao.lock.interceptor.ErrorHandler;
import me.yuxiaoyao.lock.interceptor.KeyGenerator;
import org.springframework.lang.Nullable;

/**
 * @author kerryzhang on 2020/12/22
 */


public interface DistributedLockConfigurer {
    @Nullable
    LockExecutor lockExecutor();

    @Nullable
    KeyGenerator keyGenerator();

    @Nullable
    ErrorHandler errorHandler();
}
